package com.zf.wms.purview.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * Author：sl
 * Date：2019-11-07 16:44
 * Email：965026003@qq.com
 * Description：<权限管理综合表表映射对象，用户和角色之间的综合表>
 */
@TableName("tab_synthesize")
public class Synthesize implements Serializable {

    //用户ID
    @TableId(type = IdType.AUTO)
    private Integer userId;
    //角色ID
    private Integer roleId;
    //用户角色ID(优先考虑)
    private Integer userRoleId;
    //部门角色ID
    private Integer departmentRoleId;
    //创建人
    private String createUser;
    //创建时间
    private String createTime;
    //修改人
    private String updateUser;
    //修改时间
    private String updateTime;

    public Synthesize() {
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getUserRoleId() {
        return userRoleId;
    }

    public void setUserRoleId(Integer userRoleId) {
        this.userRoleId = userRoleId;
    }

    public Integer getDepartmentRoleId() {
        return departmentRoleId;
    }

    public void setDepartmentRoleId(Integer departmentRoleId) {
        this.departmentRoleId = departmentRoleId;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
